Skip to main content

Move Folder

AutomatR.DefaultActivities.FileAndFolder.MoveFolder

The "Move Folder" activity in AutomatR provides the capability to move a folder from one location to another on your local system. This activity falls under the Folder category and facilitates efficient folder management within automation workflows.

Properties

NameDescription
Input
Destination PathSpecifies the full path on your local system where you intend to move the specific folder. String variables containing the destination folder path.
OverwriteWhen selected, the source folder will be merged with any folder in the destination location that shares the same name. Boolean variables to indicate whether merging is enabled.
Source PathSpecifies the full path of the folder that you intend to move. String variables containing the source folder path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Move Folder" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the wait time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Move Folder" activity onto the workflow.
  2. Configure the properties by specifying the source path, destination path, and optionally enabling overwrite if needed.
  3. Optionally, configure the delay.
  4. Execute the workflow to move the specified folder to the destination location on your local system.

Example: Consider an example where the "Move Folder" activity is used to move a folder named "Documents" from one directory to another:

Move Folder:
Source Path: "C:\Files\Documents"
Destination Path: "D:\Backup"
Overwrite: true

In this example, the activity moves the "Documents" folder from the "C:\Files\" directory to the "D:\Backup\" directory. If a folder with the same name exists in the destination directory, it is merged due to the Overwrite option being set to true.